* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /*background: linear-gradient(135deg, #6e8efb, #a777e3);*/
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 440px;
}

.auth-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    transition: transform 0.3s ease;
}

.auth-form:hover {
    transform: translateY(-5px);
}

.auth-form h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.form-options label {
    display: flex;
    align-items: center;
    color: #666;
    cursor: pointer;
}

.form-options input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #6e8efb;
}

.form-options a {
    color: #6e8efb;
    text-decoration: none;
    transition: color 0.2s;
}

.form-options a:hover {
    color: #a777e3;
    text-decoration: underline;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    margin-bottom: 25px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5d7ce0, #9666d3);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.4);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
    color: #777;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 26%;
    height: 1px;
    background: #e1e1e1;
}

.auth-divider::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 26%;
    height: 1px;
    background: #e1e1e1;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    border: 1px solid #e1e1e1;
    color: #555;
}

.btn-social:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
}

.btn-social.wechat:hover {
    color: #2aae67;
    border-color: #2aae67;
}

.btn-social.weibo:hover {
    color: #e71f19;
    border-color: #e71f19;
}

.btn-social.qq:hover {
    color: #12b7f5;
    border-color: #12b7f5;
}

.auth-switch {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.auth-switch a {
    color: #6e8efb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-switch a:hover {
    color: #a777e3;
    text-decoration: underline;
}

.error-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    background: #fff5f5;
    color: #9b2c2c;
    border: 1px solid #feb2b2;
}

.error-content {
    flex: 1;
}

.error-message {
    font-size: 0.9rem;
    opacity: 0.9;
}

.basic-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
    color: #2c3e50;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.basic-select:hover {
    border-color: #3498db;
}

.basic-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

@media (max-width: 480px) {
    .auth-form {
        padding: 30px 20px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}